package com.kh.samr.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 失信黑名单列表Dto
 *
 * @author Harry
 * @date 2020/12/14
 */
@ApiModel(description = "失信黑名单列表Dto")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DishonestyListDto implements Serializable {
	
	private static final long serialVersionUID = 4094437274338991502L;
	
	/**
	 * 失信被执行人
	 */
	@ApiModelProperty(value = "失信被执行人", readOnly = true)
	private String nameOfList;
	
	/**
	 * 列入原因
	 */
	@ApiModelProperty(value = "列入原因", readOnly = true)
	private String includedReason;
	
	/**
	 * 列入时间
	 */
	@ApiModelProperty(value = "列入时间", readOnly = true)
	@JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date includedTime;
	
	/**
	 * 列入部门
	 */
	@ApiModelProperty(value = "列入部门", readOnly = true)
	private String includedDepartment;
}
